﻿<UserControl x:Class="SinaFinance.ChartLibrary.StockTopFiveChangesLibrary.StockTopFiveHistogram"
   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  
    mc:Ignorable="d">
    <UserControl.Resources>

        <Storyboard x:Name="VOLStoryboard">
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="vol" Storyboard.TargetProperty="(FrameworkElement.Width)">
                <SplineDoubleKeyFrame x:Name="widthAnimation1" KeyTime="00:00:00"  KeySpline="0,0,0.310000002384186,0.939999997615814"/>
                <SplineDoubleKeyFrame x:Name="widthAnimation2" KeySpline="0,0,0,1" KeyTime="00:00:3.2000000"/>
            </DoubleAnimationUsingKeyFrames>
            <!--<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="vol" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                <SplineDoubleKeyFrame KeyTime="00:00:00.7000000" Value="1" KeySpline="0,0,0.310000002384186,0.939999997615814"/>
                <SplineDoubleKeyFrame KeySpline="0,0,0,1" KeyTime="00:00:01.2000000" Value="0.90"/>
            </DoubleAnimationUsingKeyFrames>-->
            <!--<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="vol" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
                <SplineDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0" KeySpline="0,0,0.310000002384186,0.939999997615814"/>
                <SplineDoubleKeyFrame KeySpline="0,0,0,1" x:Name="scaleAnimation" KeyTime="00:00:01.2000000" />
            </DoubleAnimationUsingKeyFrames>-->
        </Storyboard>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Height="6">
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF0D4063" Offset="0.954"/>
                <GradientStop Color="#FF447697" Offset="0.411"/>
                <GradientStop Color="#FF376A8A" Offset="0.963"/>
                <GradientStop Color="#FF124B71" Offset="0.415"/>
                <GradientStop Color="#FF447697"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Border x:Name="vol" Background="#FF4082FF" HorizontalAlignment="Left" Width="6" RenderTransformOrigin="0.5,0.5">
            <Border.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Border.RenderTransform>
            <Rectangle x:Name="rect" Fill="#FF000000" Height="1" VerticalAlignment="Top" Margin="0,1,0,0"/>
        </Border>

    </Grid>
</UserControl>
